//
//  TuiTeAppDelegate.h
//  TuiTe
//
//  Created by 张 霄鹤 on 10-3-3.
//  Copyright xhzhang 2010. All rights reserved.
//


// #import "FlurryAPI.h"

#import "DataManager.h"

@interface TuiTeAppDelegate : NSObject <UIApplicationDelegate> {

    NSManagedObjectModel *managedObjectModel;
    NSManagedObjectContext *managedObjectContext;	    
    NSPersistentStoreCoordinator *persistentStoreCoordinator;
	
	DataManager *dataManager;

    UIWindow *window;
	UITabBarController *tabBarController;
	UINavigationController *navigationController;
}

@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UITabBarController *tabBarController;
@property (nonatomic, retain) UINavigationController *navigationController;

- (NSString *)applicationDocumentsDirectory;

- (void)updateDeviceToken:(NSData *)token;

@end

